import request from '@/utils/request'

//获取排程列表
export function GetOrderProductPart(inCode, inTechId) {
  return request({
    url: '/api/ComTechCommit/GetOrderProductPart',
    method: 'GET',
    params: {
      inCode, inTechId
    }
  })
}

export function ScanCommitQC(inCode, inCommitCode, inTechId) {
  return request({
    url: '/api/ComTechCommit/ScanCommitQC',
    method: 'POST',
    params: {
      inTechId,
      inCode,
      inCommitCode
    }
  })
}

export function GetOrderProductPartTicket(inCode, inTechId) {
  return request({
    url: '/api/ComTechCommit/GetOrderProductPartTicket',
    method: 'GET',
    params: {inCode, inTechId}
  })
}
